package com.base.kongjian.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.base.kongjian.entity.Message;

@Component("messageDao")
public interface MessageDAO
{
	
	void save(Message message);
	
	void delete(long id);
	
	Message get(long id);
	
	List<Long> query(Map<String, Object> params);
	
	int count(Map<String, Object> params);
	
	void update(Message message);
}
